import request from '@/utils/request'

// Get students base information
export function getList(params) {
  return request({
    url: '/vue-admin-template/student/list',
    method: 'get',
    params
  })
}

// Update student infomation
export function updateInfo(data) {
  return request({
    url: '/vue-admin-template/student/update',
    method: 'post',
    data
  })
}
// Add a new record
export function addInfo(data) {
  return request({
    url: '/vue-admin-template/student/add',
    method: 'post',
    data
  })
}
